package com.cino.demos.chain;


public class HttpFilter implements Filter{

    @Override
    public void doFilter(Request request, Response response, FilterChain chain) {
        //第一个filter的功能
        request.msg+=">>>";
        System.out.println("HttpDoFilter前");
        //往下放行
        chain.doFilter(request,response,chain);
        System.out.println("HttpDoFilter后");
    }
}
